#pragma once

#include "..\Common\Plugin.h"

class CPluginManager
{
public:
	CPluginManager();
	~CPluginManager();

	bool Init();
	void Exit();
	size_t GetPlugin(const std::wstring_view& strFilePath, IPluginPtr& pPlugin) const;

private:
	struct PluginInfo
	{
		std::wstring strSubPath;
		IPluginPtr   pPlugin;
	};

	std::vector<PluginInfo> m_vecPlugins;
};
